import java.io.File;
import java.io.FileWriter;
import java.io.IOException;

public class lesson920huijie2 {
    public static void main(String[] args) throws IOException {
        File f = new File("d:\\ceshi\\a.txt");
        FileWriter fw = new FileWriter(f);
        fw.write("朱琳浩您好，很高兴今年遇见你");//一个汉字占3个字节
        fw.close();
    }
}
